package com.example._03vehicle.mapper;

import com.example._03vehicle.pojo.dto.UserLoginParam;
import com.example._03vehicle.pojo.entity.User;
import com.example._03vehicle.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public int selectByUsername(String username);
    public int insertByUser(User user);
//以上是注册
    UserVO selectByUsernameAndPassword(@Param("username") String username,@Param("password") String password);

    int deleteByPrimaryKey(Long id);
//以上是登录

}
